<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<form id="form" action="/sql">
<input type="text" name="name" placeholder="姓名"/>
<input type="text" name="name" value="like" placeholder="姓名" hidden="" readonly="readonly" />
<input type="text" name="age" placeholder="年龄"/>
<input type="text" name="age" value="=" placeholder="年龄" hidden="" readonly="readonly" />
<input type="text" name="time" placeholder="时间"/>
<input type="text" name="time" value=">=" placeholder="时间" hidden="" readonly="readonly" />
<input type="text" name="time" placeholder="时间"/>
<input type="text" name="time" value="<" placeholder="时间" hidden="" readonly="readonly" />
<button type="submit">表单内</button>
</form>
<button id="button">提交</button>
<script type="text/javascript" src="/js/laymi/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="/js/laymi/jquery-form.js"></script>
<script type="text/javascript" src="/js/layui/layui.js"></script>
<script type="text/javascript">
$(function(){
	$("#button").click(function(){
		$("#form").ajaxSubmit({
			success:function(){
			}
		});
	});
});
</script>
</body>
</html>